Sudo originated in the early 1980s s and was developed by the State University of New York in Buffalo, followed by the University of Colorado for in-depth development. Website: http://www.gratisoft.us/sudo/
Sudo is a tool that allows the system
When you finish installing CENTOS7, sudo is not enabled by default, and sudo should be set first.Sudo is the role of the current non-root user in the use of the command without permission, directly before the command to add sudo, enter their current
Example of SU:
Su switches to the root user by default without adding any parameters, but does not go to the root user's home directory. That is to say, it is switched to the root user, however, the root logon environment is not changed. You can
I. Introduction to sudo:
1. concept:
Sudo is a common tool in linux that allows common users to use superuser permissions. It allows system administrators to execute some or all of the root commands, such as halt, reboot, and su. This not only
Enable sudo in CentOS and disable root remote logon.
By default, CentOS does not enable sudo and can directly log on to the server as a super administrator. Ubuntu is better in this aspect. To ensure security and reduce the loss caused by
By default, centos does not enable sudo and can directly log on to the server as a super administrator.
1. Add a sudo user
Run the mongodo command and find:
1
root ALL=(ALL) ALL
Add the following: (Note that sky9890 is a new
Deep understanding of the difference between Sudo and SuThe maximum difference between the two commands is:The sudo command needs to enter the current user's password, and the SU command needs to enter the root user's password. Another difference is
Linux sudo command -- sudoers file configuration, sudosudoersThe Linux sudo command and its configuration file/etc/sudoers will also know about the sudo command. The core idea of The sudo command is to grant permissions, that is, the user of a
A summary of methods to disable IPV6 under Linux--http://www.jb51.net/linuxjishu/335724.htmlThis article mainly introduces the method of disabling IPv6 in Linux, the operation of disabling IPV6 or considering the current and IPV4 compatibility
LinuxSudo command and its configuration file/etc/
Sudoers
May 4, 11:00:56
Add to favorites I want to contribute
LinuxSudo command and its configuration file/etc/
SudoersPair
LinuxSome people will know about the sudo
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.